Skip to content

Conversation

@jyn514
Copy link
Member

@jyn514 jyn514 commented Oct 23, 2025

I had a test I was confused by; the root issue is that error-pattern runs before normalization, even though //~ ERROR runs after normalization. This logging caught the issue immediately.

@rustbot
Copy link
Collaborator

rustbot commented Oct 23, 2025

Some changes occurred in src/tools/compiletest

cc @jieyouxu

@rustbot rustbot added A-compiletest Area: The compiletest test runner A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Oct 23, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 23, 2025

r? @Zalathar

rustbot has assigned @Zalathar.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rust-log-analyzer

This comment has been minimized.

I had a test I was confused by; the root issue is that `error-pattern`
runs before normalization, even though `//~ ERROR` runs after
normalization. This logging caught the issue immediately.
@jyn514 jyn514 force-pushed the compiletest-logging branch from d594e25 to 5976015 Compare October 23, 2025 18:07
Copy link
Member

@hkBst hkBst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change simply adds output_to_check onto an existing debug log.

@jyn514 can you show an example of the change in output that results from this?

View changes since this review

@Zalathar
Copy link
Contributor

Zalathar commented Oct 24, 2025

I’m vaguely worried about this being too verbose; how does the output look in practice? Maybe it’s actually fine?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-compiletest Area: The compiletest test runner A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants